Soften the onion in two spoons of the oil, then blend it with the garlic, tomatoes and soaked chillies until smooth.