An efficient method for solving a matrix least squares problem over a matrix inequality constraint