Four militants have been killed by police in a special ambush operation in Russias southern republic of Dagestan.