Ion acoustic shocks in degenerate plasma with trapping in a quantizing magnetic field