The bill came amid several suggestions in recent weeks for how Virginia should reconcile its political differences.