If you are lucky, the contract of carriage may allow you to get a full refund due to refusal to carriage. Not all carriers offer that. Some do.
If you booked one ticket connecting in SIN to MEL, then you would not have a problem. The problem is your first ticket ends in SIN. The 6-month requirement is for passengers arriving in SIN.