US urges all Pakistani parties to exercise restraint