Fix QR solve shape error