Fixed compiler register allocation (actually register freeing) bug pointed
out by Paulo Moura. This is very focussed fix and may not fix the other examples Paulo had. (I assume this will be checked...)
Authored by: dwarren 2015-10-29
Parent: [r8503]
Child: [r8505]