Third seed Murray captured the fourth title of his career after edging out Wawrinka with his more aggressive baseline tactics in a error-riddled contest.