A group of prominent Muslim clerics in Bangladesh has announced a fatwa condemning recent attacks on members of religious minorities and secular activists.