MAINT: linalg: strip out unused gufuncs_linalg code

Some of the functions removed were untested, and apparently did not
function correctly (cholesky_up, inner1d, maybe more).