New legislation gives Pakistan's military chief sweeping command powers, raising questions about oversight.