Add error message for assertion in ProgramHandle::fill_params