Bangladeshi granted bail over deadly cafe attack