Issue 4064: add **hints to sign.doit()

sign.doit() was missing **hints parameter, causing an exception at integrate.
I added test_issue_4064() in test_failing_integrals.py.
I @XFAIL it because even if the exception is no longer raised, the
integral is still not evaluated.