Bug fix in merge_responses.sh

Was throwing "bad substitution" error.
Fixed it by following normal argument notation in shell.

Signed-off-by: Vidhoon Viswanathan <vidhoon@cs.utexas.edu>