Global equities on course for first back-to-back monthly gains since 2021