DelegatorsParam: Setter: Refactor delegators

This commit refactors the setter in DelegatorsParam so that it uses a
more understandable code style.

Replacing the foreach with a single if statement which uses Array.every,
and then using Array.map as well as a prepared string to make the
paramValues for the generator function.

Reported-by: Akshay Karthik <akshay.karthik@gmail.com>
Signed-off-by: Mark Stenglein <mark@stengle.in>
3 jobs for develop in 54 seconds (queued for 1 second)