Numerical investigation for entropy generation in hydromagnetic flow of fluid with variable properties and slip