Weakly $I$-clean rings