Ellis boosts Pacers past Mavs 112-105 in return to Dallas