Kennedy slams state legislators over budget