Fix bug in a corner case of list slicing

Has exhibited by the fannkuch.py test case
Fix bug in while: else: backend implementation