Add assertion for issue 5884

Per issue 5884, OLS does not properly apply Newey-West adjustment when
clustering is specified. Add an assert at the beginning of the function
to check for this.