Philippine leader threatens to end US pact over ally's visa