Police in Walsall are being given extra powers to stop and search people following a violent incident in the town.