Pakistan's Senate approves extension of military courts