Federal Government seeking legal advice on UWA contract cancellation