Bangladeshi Prime Minister resigns after deadly protests