Pakistan throws weight behind war against IS