Bangladeshi police have killed nine suspected Islamist extremists in a gun-battle after storming a hideout where they say a new mass attack was being planned.