Air strikes kill 27 militants in Pakistan