Fix mediump zero division in matrix inverse tests