UAE learned big lesson from semi-final match, says Ali