Pakistan applies for $10bn US forex facility, leverages Iran mediation