Bangladesh captures late wickets to gain hold over Indies