Fix the TcLevel not being set correctly when finding valid hole fits

Authored by Tritlo on Jul 21 2018, 8:48 AM.

Description

Fix the TcLevel not being set correctly when finding valid hole fits

Summary:
This fixes the problem revealed by a new assert as it relates to valid
hole fits. However, tests T10384, T14040a and TcStaticPointersFail02
still fail the assert, but they are unrelated to valid hole fits.

Reviewers: bgamari, simonpj

Reviewed By: simonpj

Subscribers: simonpj, rwbarton, thomie, carter

GHC Trac Issues: Trac #15384

Differential Revision: https://phabricator.haskell.org/D4994