Gov. Deval Patrick signs budget, cuts local funds