Bangladesh chief justice also forced to resign