I'd let the fighter move back 10 feet -- first he moves back 5 feet, but that square is occupied by the wizard, so the fighter gets shunted to the nearest unoccupied space. The nearest unoccupied space is right behind the wizard, so now the fighter is 10 feet from the cube. And shielded by the wizard, who is probably whining about it, that wimp.