SDP diagonalizations and perspective cuts for a class of nonseparable MIQP