Wizards reach .500 with win over Magic