Mohammad Saifuddin’s cameo was crucial after Mahedi’s 3 for 25 restricted Ireland to 170