Sources: Perry offered to restore vetoed funding if DA resigned