UN slams decision of turning away migrant ship