The dollar is heading to record a monthly loss globally