Truncated current Lie algebras with polynomial rings of symmetric invariants