After an almost two-year investigation, the Federal Communications Commission said Monday it had reached an agreement with most of the nation’s cell carriers that should protect consumers from “bill shock” — unexpected increases in a monthly wireless bill.