In new funding plan, Malloy takes money from wealthy towns