Add a catch block to ArraySet

It can throw.

Reviewed By: @jdelong

Differential Revision: D1153287