President grieved over Dr Shamsi’s demise