Dollar softens as Asian stock rally saps safe-haven demand