Explicit minimisation of a convex quadratic under a general quadratic constraint