Pakistani mosque standoff “amicably resolved”