Nigerian troops kill 50 Islamists after barracks assault