Ben Roberts-Smith was granted bail following arrest over alleged unlawful killings between 2009 and 2012.