Pakistani soldier martyred in attack on military post