Several groups agree to merge under defence ministry as interim government seeks to unite fractured country